<?php

namespace App\Events;

use App\Entity\UserEntity;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class DistributionPosterEvent
{
    use Dispatchable; use InteractsWithSockets; use SerializesModels;

    /**
     * @var UserEntity
     */
    public $user;

    /**
     * DistributionPosterEvent constructor.
     * @param UserEntity $user
     */
    public function __construct(UserEntity $user)
    {
        $this->user = $user;
    }
}
